#ifndef INIT_HPP_
#define INIT_HPP_

#include <QObject>
#include <bb/cascades/AbstractPane>
#include <bb/cascades/Application>
#include <bb/cascades/QmlDocument>
#include <bb/data/SqlDataAccess>
#include <bb/data/DataAccessError>
#include <bb/system/SystemDialog>
#include <bb/cascades/GroupDataModel>

#include <QtSql/QtSql>
#include <QDebug>
using namespace bb::cascades;
using namespace bb::data;
using namespace bb::system;

class init: public QObject
{
    Q_OBJECT
public:
    init();
    void executeInit();
    QString dbFile();

private:
    QVariantMap initDatabase();
    QVariantMap initFavoritesDatatable();
    QVariantMap initV2YCacheDatatable();

};

#endif /* INIT_HPP_ */
